﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebUI.EditPages
{
    public partial class PrintHandler : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            base.Page_Load(sender, e);

            if (Request.QueryString[KEY] != null)
            {
                Control ctrl = (Control)Session[Request.QueryString[KEY]];
                printContent.Controls.Add(ctrl);
                Session.Remove(Request.QueryString[KEY]);
            }
        }
    }
}
